﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CrossLayerCommunication
{        
    public interface IMessage : IEquatable<IMessage>, ICloneable
    {
        /// <summary>
        /// Primary identifier, should be unique
        /// </summary>
        int Id { get; }
        /// <summary>
        /// Parameters that, should be carried around
        /// </summary>
        object[] Params { get; set; }
        /// <summary>
        /// Localization key
        /// </summary>
        string Key { get; set; }
        /// <summary>
        /// Message type
        /// </summary>
        MessageType Type { get; }
    }    
}
